Mediavine\Create\Helpers\Collection D

Total Complexity 240
Dependencies 8
Dependents 3
Total lines 1,885
Lines of code 807
Logical lines of code 421
Comment lines 824
Methods 125
Properties 1

Methods 125

Method Rating Maintainability Complexity Lines of code
operatorForWhere()
B
44 17 42
getArrayableItems()
A
57 10 16
groupBy()
A
50 9 30
jsonSerialize()
S
59 6 14
split()
S
55 5 20
mode()
S
56 4 19
join()
S
59 4 15
sortBy()
S
60 4 13
every()
S
61 4 12
search()
S
63 4 11
min()
S
59 3 16
only()
S
64 4 10
has()
S
65 4 9
max()
S
62 3 13
mapToDictionary()
S
60 3 13
containsStrict()
S
61 3 13
keyBy()
S
61 3 12
nth()
S
63 3 11
avg()
S
59 2 17
chunk()
S
64 3 10
mapWithKeys()
S
64 3 10
implode()
S
67 3 7
when()
S
68 3 8
except()
S
66 3 8
contains()
S
63 3 10
times()
S
66 3 9
each()
S
67 3 8
partition()
S
62 3 10
reject()
S
62 2 14
unique()
S
61 2 13
sum()
S
63 2 11
zip()
S
60 1 16
splice()
S
69 2 6
sortKeys()
S
72 2 5
concat()
S
69 2 7
wrap()
S
73 2 5
useAsCallable()
S
78 2 3
sort()
S
69 2 7
chunkToArray()
S
70 2 6
forget()
S
71 2 6
unwrap()
S
78 2 3
random()
S
71 2 6
get()
S
71 2 6
take()
S
71 2 6
getIterator()
S
75 2 5
whereNotBetween()
S
68 2 7
toArray()
S
69 2 7
valueRetriever()
S
68 2 8
offsetSet()
S
69 2 7
filter()
S
71 2 6
offsetUnset()
S
80 1 3
put()
S
76 1 4
shuffle()
S
79 1 3
reduce()
S
79 1 3
pull()
S
79 1 3
offsetExists()
S
79 1 3
reverse()
S
79 1 3
__toString()
S
81 1 3
toBase()
S
80 1 3
shift()
S
80 1 3
offsetGet()
S
80 1 3
tapInto()
S
79 1 3
slice()
S
78 1 3
count()
S
80 1 3
tap()
S
76 1 4
toJson()
S
79 1 3
add()
S
80 1 3
pad()
S
78 1 3
sortByDesc()
S
79 1 3
sortKeysDesc()
S
79 1 3
values()
S
80 1 3
uniqueStrict()
S
79 1 3
transform()
S
76 1 4
passThrough()
S
79 1 3
newFrom()
S
79 1 3
push()
S
76 1 4
diff()
S
78 1 3
union()
S
79 1 3
prepend()
S
75 1 4
unlessNotEmpty()
S
79 1 3
first()
S
79 1 3
whereInstanceOf()
S
71 1 7
whereNotInStrict()
S
79 1 3
whereNotIn()
S
67 1 8
whereBetween()
S
77 1 3
whereInStrict()
S
79 1 3
whereIn()
S
67 1 8
whereStrict()
S
79 1 3
where()
S
79 1 3
unlessEmpty()
S
79 1 3
flatten()
S
79 1 3
unless()
S
78 1 3
whenNotEmpty()
S
79 1 3
whenEmpty()
S
79 1 3
dump()
S
79 1 3
eachSpread()
S
68 1 8
diffKeysUsing()
S
78 1 3
diffKeys()
S
78 1 3
diffAssocUsing()
S
78 1 3
diffAssoc()
S
78 1 3
firstWhere()
S
78 1 3
flip()
S
80 1 3
pop()
S
80 1 3
mapToGroups()
S
74 1 4
pipe()
S
80 1 3
forPage()
S
74 1 4
all()
S
82 1 3
diffUsing()
S
78 1 3
combine()
S
78 1 3
merge()
S
78 1 3
average()
S
80 1 3
mapInto()
S
70 1 7
flatMap()
S
80 1 3
make()
S
80 1 3
some()
S
80 1 3
map()
S
72 1 5
pluck()
S
78 1 3
last()
S
79 1 3
keys()
S
80 1 3
isNotEmpty()
S
80 1 3
isEmpty()
S
80 1 3
intersectByKeys()
S
70 1 7
intersect()
S
78 1 3
collapse()
S
80 1 3
__construct()
S
80 1 3